# -*- encoding: utf-8 -*-
"""
@Author  :   BillFun
@License :   (C) Copyright 2013-2017, JieInfo
@Software:   PyCharm
@File    :   test2.py
@Time    :   2018/4/2 0002 下午 5:10
@Desc    :
"""

import logging
import logging.config
import log_util2


def test2():
    log_util2.error('wahaha')


def test2log():
    logging.config.fileConfig("../logging.conf")
    logger = logging.getLogger("example02")

    logger.debug('This is debug message')
    logger.info('This is info message')
    logger.warning('This is warning message')


if __name__ == '__main__':
    test2log()
